#version 430

layout(location = 0) in vec3 position;

layout (std140) uniform SkyBoxParams {
	mat4 viewProjMat;
} sParams;

out vec3 texcoords;

void main(){

	texcoords = normalize(position);
	gl_Position = sParams.viewProjMat * vec4(position, 1.0);
   
}